<div class="row row-offcanvas row-offcanvas-right">
    <div class="col-xs-12 col-sm-9">
        <div class="row">
            <ul class="nav nav-pills">
                <li><a><?php echo $typeName;?></a></li>
            </ul>
            <?php foreach ($aryProduct as $key => $product) { ?>
                <div class="col-sm-6 col-md-4">
                    <div class="thumbnail">
                        <a style="cursor: pointer;" onclick="productController.getListProduct('<?php echo $this->url('product-ajax/product-detail', array('product_id' => $product['product_id'], 'product_name' => $product['product_name_filter'].'.html'));?>')">
                            <img alt="<?php echo $product['product_name']; ?>" style="height: 200px; width: 100%; display: block;" src="/upload/images/thumb/<?php echo $product['product_image']; ?>">
                        </a>
                        <div class="caption">
                            <h5><a style="cursor: pointer;" onclick="productController.getListProduct('<?php echo $this->url('product-ajax/product-detail', array('product_id' => $product['product_id'], 'product_name' => $product['product_name_filter'].'.html'));?>')"><?php echo $product['product_name']; ?></a></h5>
                            <?php if ($product['product_price_sale_of']) { ?>
                                <p>
                                    <span style="text-decoration: line-through;padding-right: 10px;"><?php echo number_format($product['product_price'], 0, ',', '.') ?>&nbsp;vnđ</span>
                                    <span><?php echo number_format($product['product_price_sale_of'], 0, ',', '.') ?>&nbsp;vnđ</span>
                                </p>
                            <?php } else { ?>
                                <p><?php echo number_format($product['product_price'], 0, ',', '.') ?>&nbsp;vnđ</p>
                            <?php } ?>
                        </div>
                    </div>
                </div>
            <?php } ?>
        </div>
    </div><!--/span-->

    <div role="navigation" id="sidebar" class="col-xs-6 col-sm-3 sidebar-offcanvas">
        <?php include 'category.phtml';?>
    </div><!--/span-->
</div>